<template>
  <div class="bargainBox">
    <div class="bargainBox_box" @click="onClick">
      <div>全民砍价</div>
      <div><img src="../../assets/BargainBox/you.png" alt="" /></div>
    </div>
  </div>
</template>

<script>
export default {
    methods:{
        onClick(){
            this.$router.pushRouteByQuery("/kanjian")
        }
    }
};
</script>

<style>
.bargainBox {
  width: 100%;
  height: 2rem;
  background: #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.bargainBox_box {
  width: 100%;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid red;
}
.bargainBox_box img {
  width: 0.5rem;
}
</style>